package com.luber.backstage.mapper;

import com.luber.backstage.domain.EticketVehicleModel;
import com.luber.backstage.domain.vo.EticketVehicleModelVO;

import java.util.List;

/**
 * 【车辆型号】Mapper接口
 *
 * @author luber
 * @date 2021-01-19
 */
public interface EticketVehicleModelMapper {
    /**
     * 查询【车辆型号】
     *
     * @param id 【车辆型号】ID
     * @return 【车辆型号】
     */
    public EticketVehicleModelVO selectEticketVehicleModelById(Long id);

    /**
     * 查询【车辆型号】列表
     *
     * @param eticketVehicleModel 【车辆型号】
     * @return 【车辆型号】集合
     */
    public List<EticketVehicleModelVO> selectEticketVehicleModelList(EticketVehicleModel eticketVehicleModel);

    /**
     * 新增【车辆型号】
     *
     * @param eticketVehicleModel 【车辆型号】
     * @return 结果
     */
    public int insertEticketVehicleModel(EticketVehicleModel eticketVehicleModel);

    /**
     * 修改【车辆型号】
     *
     * @param eticketVehicleModel 【车辆型号】
     * @return 结果
     */
    public int updateEticketVehicleModel(EticketVehicleModel eticketVehicleModel);

    /**
     * 删除【车辆型号】
     *
     * @param id 【车辆型号】ID
     * @return 结果
     */
    public int deleteEticketVehicleModelById(Long id);

    /**
     * 批量删除【车辆型号】
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteEticketVehicleModelByIds(Long[] ids);

}
